<template>
	<view>
	<view @tap="$emit('play',$event)" class="user-block" :data-index="video.name" v-if="video_item.video_id==video.name"
	 v-for="video in update_list.video" :key="video.id">
		<view v-if="play==video.name">
			<video autoplay="true" @fullscreenchange="$emit('fullscreenchange',$event)" class="video" controls="true" direction="" loop="true"
			 :src="video.url" style="width:750upx;height:400upx;"></video>
		</view>
		<view style="position:relative;" v-else>
			<image :src="video.pic_url" style="width:750upx;height:400upx;display:block"></image>
			<image class="video-play" :src="__wxapp_img.dapp.video_play.url"></image>
		</view>
	</view>
	</view>
</template>

<script>var myVue = {};
	export default {
		props: ['__wxapp_img','update_list','video_item','play'],
		data() {
			return {
				
			};
		}
	}
</script>

<style scoped>
</style>
